import {request} from '@umijs/max';
export async function signup(user){
    return request('/api/signup',{
        method:'POST',
        data:user
    });
}
export async function signin(user){
    return request('/api/signin',{
        method:'POST',
        data:user
    });
}